package com.wolfpire.workflow.om;

import java.io.Serializable;
import java.util.Date;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.Table;
/**
 * 节日表
 * @author liushx
 */

@SuppressWarnings("serial")
@Entity
@Table(name = "wf_holiday")
public class Holiday implements Serializable {
//	Name	Code	Data Type	Length	Precision	Primary	Foreign Key	Mandatory
//			NUMBER(8)	8		FALSE	FALSE	FALSE
//	节日日期		DATE			FALSE	FALSE	FALSE
//			VARCHAR2(40)	40		FALSE	FALSE	FALSE
//	状态		CHAR(1)	1		FALSE	FALSE	FALSE
//	是否上班		CHAR(1)	1		FALSE	FALSE	FALSE

	@Id
	@Column(name = "LIMIT_ID", length = 16)
	@GeneratedValue(strategy = GenerationType.IDENTITY)
	private Long limitId;//主键ID
	
	@Column(name = "HOLIDAY_TIME")
	private Date holidayTime;//节日日期	
	
	@Column(name = "NAME")
	private String name;//名称
	
	@Column(name = "STATUS")
	private String status;//状态
	
	@Column(name = "IS_LEGAL")
	private String isLegal;//是否上班   1 上班 0  不上班

	public Long getLimitId() {
		return limitId;
	}

	public void setLimitId(Long limitId) {
		this.limitId = limitId;
	}

	
	public Date getHolidayTime() {
		return holidayTime;
	}

	public void setHolidayTime(Date holidayTime) {
		this.holidayTime = holidayTime;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getStatus() {
		return status;
	}

	public void setStatus(String status) {
		this.status = status;
	}

	public String getIsLegal() {
		return isLegal;
	}

	public void setIsLegal(String isLegal) {
		this.isLegal = isLegal;
	}
	
}
